<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
    <head>
        <meta http-equiv=content-type content="text/html; charset=utf-8" />
        <link href="css/admin.css" type="text/css" rel="stylesheet" />

    </head>
    <body>
        <table cellspacing=0 cellpadding=0 width="100%" align=center border=0>
            <tr height=28>
                <td background=./img/title_bg1.jpg>当前位置: </td></tr>
            <tr>
                <td bgcolor=#b1ceef height=1></td></tr>
            <tr height=20>
                <td background=./img/shadow_bg.jpg></td></tr></table>
        <table cellspacing=0 cellpadding=0 width="90%" align=center border=0>
            <tr height=100>
                <td align=middle width=100>
					<img height=100 src="./img/admin_p.gif"  width=90>
				</td>
                <td width=60>&nbsp;</td>
                <td>
                    <table height=100 cellspacing=0 cellpadding=0 width="100%" border=0>

                        <tr>
                         <td>
                             当前时间：<span id="times"></span>
                             <script type="text/javascript">
                                 setInterval(function(){
                                     var time=new Date();
                                     var year=time.getFullYear(); //获取年份
                                     var month=time.getMonth()+1; //获取月份
                                     var day=time.getDate();  //获取日期
                                     var hour=checkTime(time.getHours());  //获取时
                                     var minite=checkTime(time.getMinutes()); //获取分
                                     var second=checkTime(time.getSeconds()); //获取秒
                                     /****当时、分、秒、小于10时，则添加0****/
                                     function checkTime(i){
                                         if(i<10) return "0"+i;
                                         return i;
                                     }
                                     var box=document.getElementById("times");
                                     box.innerHTML=year+"年"+month+"月"+day+"日 "+hour+":"+minite+":"+second;
                                 },1000);   //setInterval(fn,i) 定时器，每隔i秒执行fn
                             </script>

                         </td>
						</tr>
                        <tr>
                            <td style="font-weight: bold; font-size: 16px">${user.loginName}</td>
						</tr>
                        <tr>
                            <td>欢迎进入网站管理中心！</td></tr></table></td>
						</tr>
            <tr>
         <td colspan=3 height=10></td></tr></table>
       
    </body>
</html>